package bmap;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class TestBMap {
	
	public ModelAndView testBMap(HttpServletRequest request){
		ModelAndView mv = new ModelAndView();
		String city = request.getParameter("city");
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("city", city);
		mv.setViewName("/bMap/testBMap.jsp");
		mv.addObject(map);
		return mv;
	}
}
